package com.sxt.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * EMail entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class EMail implements java.io.Serializable {

	// Fields

	private Integer id;
	private String addr;

	private EUser user;

	private Set<ELitter> eLitters = new HashSet<ELitter>(0);

	// Constructors

	/** default constructor */
	public EMail() {
	}
	

	public EMail(Integer id, String addr, EUser user) {
		super();
		this.id = id;
		this.addr = addr;
		this.user = user;
	}


	/** full constructor */
	public EMail(Integer id, String addr, EUser user, Set<ELitter> eLitters) {
		super();
		this.id = id;
		this.addr = addr;
		this.user = user;
		this.eLitters = eLitters;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAddr() {
		return this.addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public Set<ELitter> geteLitters() {
		return eLitters;
	}

	public void seteLitters(Set<ELitter> eLitters) {
		this.eLitters = eLitters;
	}

	public EUser getUser() {
		return user;
	}

	public void setUser(EUser user) {
		this.user = user;
	}
	
	
}